package com.zxl.openapi.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("OPENAPI-CACHE")
public interface RedisService {

    @PostMapping("/cache/mput/{key}")
    boolean mPut(@PathVariable String key, @RequestBody Map fieldValue);

}
